@extends('Layout/adminBase')
@section('css')
<link rel="stylesheet" type="text/css" href="{{asset('/bootstrap/css/bootstrap.min.css')}}">
<style type="text/css">
    tr{
        text-align: center;
    }
    tr th{
         text-align: center;
    }
</style>
@endsection
@section('body')

<div id="msg">
	@include('Common/tip')
</div>
	

<div class='container'>
    
    <table class="table table-condensed">
        <caption>积分商品</caption>
        <thead>
            <tr>
                <th>序号</th>
                <th>积分详情</th>
                <th>积分变动</th>
                <th>变动时间</th>
            </tr>
        </thead>
        <tbody>
        @foreach ($list as $k => $v)
            <tr>
                <td>{{$k+1}}</td>
                <td>{{$v->detail}}</td>
                <td>{{$v->change}}</td>
                <td>{{$v->date}}</td>
            </tr>
        @endforeach
        </tbody>
    </table>
   	{{ $list->links() }}
</div>
@endsection
